﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace IPSC
{
    class Conexion
    {
        private string ipServer;
        private int puerto;

        public Conexion()
        {
            this.ipServer = "localhost";
            this.puerto = 50000;
        }

        public string getIpServer()
        {
            return ipServer;
        }

        public int getPuerto()
        {
            return puerto;
        }

        public void setIpServer(string ip)
        {
            ipServer = ip;
        }

        public void setPuerto(string puerto)
        {
            this.puerto = Convert.ToInt32(puerto); 
        }
    }
}
